#!/bin/bash

if [ -L $0 ] ; then
	EXEC="$(readlink $0)"
else
	EXEC="$0"
fi

DIR="$( cd -L $( dirname "$EXEC" ) && pwd )"

export MAINSERVER='ec2-50-16-48-0.compute-1.amazonaws.com'
export NODES='ec2-54-197-16-49.compute-1.amazonaws.com ec2-54-197-118-56.compute-1.amazonaws.com ec2-54-197-118-56.compute-1.amazonaws.com ec2-54-221-172-200.compute-1.amazonaws.com'
export JMETERCLIENT='ec2-23-22-21-149.compute-1.amazonaws.com'

export RUN_MAIN=0
export RUN_NODES=0

export DEFAULT_PORT='15001'

export JAR=camid3-0.3.1-SNAPSHOT-jar-with-dependencies.jar

export CAMID_JAR=$DIR/target/$JAR

export SSH_KEY_NAME=camid-key.pem

export SSH_KEY=scripts/$SSH_KEY_NAME

export USER=ubuntu
export TARGET_LOCATION=/home/$USER

export TESTCASE='single-elastic-expMiddleware.jmx'

export TEST_OBJECT=camid.test.testobjects.DelayObject

export JMETER_DIR=apache-jmeter-2.9
export JMETER_ROOT=/home/diego/util/jmeter/$JMETER_DIR
export JMETER_OPTS="-n -t $TESTCASE -l expMiddleware.log"

export COLON_SEP_NODES=$( echo $NODES | tr ' ' ':' )

export MVN_OPTS='package assembly:single'

export MGMT_OPTS='-ns -cm'

export SSH_OPTS='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'



